package io.mvvm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "io.mvvm.client")    // 扫描openfeign的包
public class ConsulDiscoveryConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsulDiscoveryConsumerApplication.class,args);
    }

}
